//
//  LocationManager.h
//  WeatherGuide
//
//  Created by lanou3g on 15/12/18.
//  Copyright © 2015年 李明. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CoreLocation/CoreLocation.h>


typedef void(^LOCATIONBLOCK)(CLLocationCoordinate2D coordinate,CLLocationManager *manager);

//逆地理编码的Block
typedef void(^upGecgraphyCodingBlock)(NSString *name);

typedef void(^updataBLOCK)();

//typedef void(^weatherDataBlock)(id);

@interface LocationManager : NSObject

@property (nonatomic,strong) LOCATIONBLOCK upDataBlock;

+ (instancetype)sharedLocationMagager;

#pragma mark 开始定位
- (void)startLocation;
//
//#pragma mark 逆地理编码--根据经纬度获取地址
//- (void)getAddressWithCoordianate:(CLLocationCoordinate2D)coordinate
//                  withFinishBlock:(upGecgraphyCodingBlock)finishBlock;
#pragma mark 更新当前位置天气

+ (void)updataWeatherForCurrentLocationupdata:(updataBLOCK)finishBlock;


@end
